package cn.xinfei.xdecision.common.utils.util;


public class SerialNumberUtils {

    private static final String LEN = "%05d";

    public static String create(String scene, long incrByDay) {
        String todayNow = LocalDateUtils.getTodayNow();
        StringBuffer sb = new StringBuffer(todayNow);
//        sb.append(scene.toUpperCase());
        sb.append(scene);
        sb.append(String.format(LEN, incrByDay));
        return sb.toString();
    }
}
